package com.audaque.springboot.foshanupload.web.mpjdemo.mpgt.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

  import java.time.*;
  import com.fasterxml.jackson.annotation.JsonFormat;
  import org.springframework.format.annotation.DateTimeFormat;
 import com.baomidou.mybatisplus.annotation.*;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


import lombok.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 流程节点定义
 * </p>
 *
 * @author chinaben
 * @since 2023-04-07
 */
@Data
@Getter
@Setter
@Accessors(chain = true)
@TableName("act_node_def")
@ApiModel(value = "ActNodeDef对象", description = "流程节点定义")
public class ActNodeDef implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    @ApiModelProperty(value = "流程编码")
       @TableField("act_code")
    private String actCode;


    @ApiModelProperty(value = "节点编码")
       @TableField("node_code")
    private String nodeCode;


    @ApiModelProperty(value = "节点名称")
       @TableField("node_name")
    private String nodeName;


    @ApiModelProperty(value = "父节点编码")
       @TableField("p_node_code")
    private String pNodeCode;


    @ApiModelProperty(value = "限制耗时（秒）")
       @TableField("limit_use_time")
    private Long limitUseTime;


    @ApiModelProperty(value = "是否添加发布用户为候选人")
       @TableField("add_release_user_approval_yn")
    private Boolean addReleaseUserApprovalYn;

}
